import { dialog } from '@gis/lib/components/antd-dialog';

export function openAlarmListDialog(data) {
  dialog({
    content: () => import('./alarm-list.vue'),
    contentProps: {
      fetchParams: data,
    },
    dialogProps: {
      title: '告警列表',
      width: 'medium',
      height: 'fixed',
      footer: null,
    },
  });
}
